package shin.test.web.controller;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class JsController {

	protected final Log logger = LogFactory.getLog(getClass());

	@RequestMapping(value = "/html5/demo", method = RequestMethod.GET)  
	public String html5(ModelMap model){
		model.addAttribute("msg", "Hello World, Html Ui!");
		return "/jsp/html/html5/demo.jsp";
	}
	
	@RequestMapping(value = "/jquery/demo", method = RequestMethod.GET)  
	public String jquery(ModelMap model){
		model.addAttribute("msg", "Hello World, Jquery Ui!");
		return "/jsp/html/jquery/demo.jsp";
	}
	
	@RequestMapping(value = "/extjs/demo", method = RequestMethod.GET)  
	public String extjs(ModelMap model){
		model.addAttribute("msg", "Hello World, Extjs Ui!");
		return "/jsp/html/extjs/demo.jsp";
	}
}
